﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Addition : Calculate
    {
        public override void DisplayResult()
        {
            Console.WriteLine(this.a + "+" + this.b + "=" + (sum = this.a + this.b));
        }
    }
}
